
<h2>Locality</h2>
<g:if test="${flash.notice}">
	${flash.notice}
</g:if>
<g:if test="${flash.error}">
	${flash.error}
</g:if>
<table border="2">
	<tr>
	<th>  <g:message code="default.ID.label" /></th>
		<th><g:message code="default.name.label" /></th>
		<th><g:message code="default.delete.label" /></th>
		<th><g:message code="default.edit.label" /></th>
		<g:each in="${localitis}">
		<tr>
			<td><g:link action="show" id="${it.id}">
					${it.id}
				</g:link></td>
			<td>
				${it.name}
			</td>
			<td>
			<g:link action="deleteLoc" id="${it.id}"><g:message code="default.delete.label" /></g:link>
			</td>
			<td><g:link action="editLoc" id="${it.id}"><g:message code="default.edit.label" /></g:link> </td>
			</tr>

		

	</g:each>
	</table>